<html>
	<head>
		<title>{%$title%}</title>
		<base href="/Tpl/"/>
		<link href="Home/Themes/default/css/main.css" type="text/css" rel="stylesheet">
		
		<!-- Lib and g11n -->
		<script src='Libs/jquery-1.7.2.min.js'></script>
		<script src='Libs/jquery.ui.widget.js'></script>
		<script src='Libs/jquery.ui.tabs.js'></script>
		<script src='Libs/classes.js'></script>
		<script src='G11n/g11n.{%$lang|default='zh-cn'%}.js'></script>
		


		<!-- Widgets -->
		<script src='Home/Widgets/Hello.js'></script>

	</head>
	<body class='main'>

		<div widget-class='Hello' widget-id='hello' style='padding:2px;border:1px dotted #eee'>
		</div>

	</body>
</html>

<script type="text/javascript">

	$(function(){
		$main();

		var widget = Widget.widgetById('hello');
		console.debug(widget);
		
	});

</script>